<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>菜单编辑</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../../lib/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../../css/public.css" media="all" />
	<link rel="stylesheet" href="../../../lib/zTree_v3/css/zTreeStyle/zTreeStyle.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
	<div class="layui-form-item layui-row">
			<input id="menuId" name="menuId" type="hidden" >
			<label class="layui-form-label">菜单名:</label>
			<div class="layui-input-block">
				<input type="text" id="name"  class="layui-input" lay-verify="required" >
		</div>
	</div>

	<div class="layui-form-item">
			<label class="layui-form-label">父菜单Id:</label>
			<div class="layui-input-block">
				<input type="text" id="parentId" class="layui-input" value="0" >
			</div>
	</div>

	<div class="layui-form-item ">
			<label class="layui-form-label">菜单url:</label>
			<div class="layui-input-block">
				<input type="text" id="url"  class="layui-input"  >
			</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">类型:</label>
		<div class="layui-input-block">
			<select name="type" id="type" class="layui-select" >
				<option value="0">目录</option>
				<option value="1">菜单</option>
			</select>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">授权代码:</label>
		<div class="layui-input-block">
			<input type="checkbox" name="search" title="查询" value="search">
			<input type="checkbox" name="save" title="新增与修改" value="save" >
			<input type="checkbox" name="updateStatus" title="审核" value="updateStatus">
			<input type="checkbox" name="delete" title="删除" value="delete">
			<input type="checkbox" name="sync" title="同步" value="sync">
			<input type="checkbox" name="import" title="导入" value="import">
			<input type="checkbox" name="export" title="导出" value="export">
		</div>
	</div>
	<div class="layui-form-item">
			<label class="layui-form-label">排序:</label>
			<div class="layui-input-block">
				<input type="text" id="orderNum"  class="layui-input"  value="0" >
			</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="add">保存</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="../../../lib/layui/layui.all.js"></script>
<script type="text/javascript" src="edit.js"></script>
</body>
</html>